onmessage = function(event) {
    let data = event.data;

    //最终返回得结果应该是这样的：
    let layouts = [
        {
            attribs:[
                {
                    name:'uv',
                    index:0,
                    itemSize:3,
                    normalized:0
                },

                ],
            index: {name: 'index', itemSize: 1, normalized: 0, type: 0, index:2}
        }
        ]
    let buffers = [
        [],
        [],
        []
    ];
    let message = {
        result:layouts,
        buffer:buffers
    };
    postMessage(message);
}